MK GodRay
Node Data | |
|---|---|
Display name | |
MK GodRay | |
Internal name | |
Node_MK_GodRay | |
Inheritances | |
| Node_Processor | |
| Node_MK_GodRay | |
Inputs | |
Surfaces | |
surface |
Background |
surface |
Ray Mask |
Light | |
enum |
Type |
vec2 |
Origin |
float |
Range |
float |
Spread |
enum |
Attenuation |
slider |
Brightness |
Solid | |
enum |
Empty Mode |
color |
Empty Color |
slider |
Air Density |
slider |
Density |
slider |
Diffuse |
range |
Range |
Rendering | |
float |
Subdivision |
gradient |
Base Color |
float |
Intensity |
Outputs | |
surface |
Surface Out |
surface |
Ray Only |
Attributes | |
| Color Depth | |
Generate godray.
Properties
| Light | |
| Type | Light type. |
| Origin | Light position. |
| Range | Light range. |
| Spread | Spread angle. |
| Attenuation | Control how light fade away per distance. |
| Brightness | Base brightness. |
| Solid | |
| Empty Mode | Method to select which pixel to be considered as air. |
| Air Density | Dissipate light intensity over air. |
| Density | Dissipate light intensity over solid object. |
| Diffuse | Make light copy the color of the object it passes through. |
| Range | Trim light range. |
| Rendering | |
| Subdivision | Light resolution. |
| Intensity | Ray intensity. |
Commit History
| 1.21.6 |
|
|---|
Related Links
- Base Code: /scripts/node_mk_godray/node_mk_godray.gml
- Shader [sh_mk_godray_apply]: /shaders/sh_mk_godray_apply/sh_mk_godray_apply.fsh
- Shader [sh_mk_godray_shine]: /shaders/sh_mk_godray_shine/sh_mk_godray_shine.fsh
- Shader [sh_mk_godray_blur]: /shaders/sh_mk_godray_blur/sh_mk_godray_blur.fsh